package com.baizhi.jishi.service;

import com.baizhi.jishi.entity.Department;
import com.baizhi.jishi.entity.MyTree;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    Map showPage(int page,int limit,String name);

    Map adddepartment(Department department);

    Map deleteDepartment(int id);

    Map selectOne(int id);

    Map updateDepartment(Department department);

    Map deleteSome(int[] ids);

    List<MyTree> showAll();
}
